<div id="inner">
	<!--#content-sidebar-wrap -->
	<div id="content-sidebar-wrap">

		<!--#content center-->
		<div id="content" class="hfeed">
			{if count($arrNews) > 0}
			<div class = "news-box shadow-box border-box " >
				<div class="news-box-top space">
					<h2 class = "box-title" ><a href = "#" title = "##HEDAER_MENU_NEWS##" >##HEDAER_MENU_NEWS##</a></h2>     </div><!-- end .news-box-top -->
				<div class="wrap">

					<div class = "main-post" >
						<a href = "#" title = "{$arrNews->news_title|escape}">
						<div class="img-border fl thumbnail rounded" style="width: 150px; height: 150px; background: url(application/uploads/newspost/{$arrNews->news_img}) no-repeat;">
							<img class="wp-rounded-on img-border fl thumbnail" src = "application/uploads/newspost/{$arrNews->news_img}" alt = "{$arrNews->news_title|escape}" title = "{$arrNews->news_title|escape}" style = "opacity: 0;" />
							<!--div class="tl"></div>
							<div class="tr"></div>
							<div class="bl"></div>
							<div class="br"></div-->
						</div>
						</a>
						<h3><a href = "#" title = "{$arrNews->news_title|escape}">{$arrNews->news_title|escape}</a></h3>
						<p>{$arrNews->news_desc} <a href="#" class="more-link"><br />##STR_VIEW_DETAIL##&hellip;</a></p>			</div><!-- end .main-post -->
					<ul class = "older-posts">
						{if count($arrOtherNews) > 0}<span>##STR_RELATIONSHIP_NEWS##</span>{foreach from=$arrOtherNews item=otherNews}<li><a href = "#" title = "{$otherNews->news_title|escape}">{$otherNews->news_title|escape}</a></li>{/foreach}{/if}
					</ul>
				</div>

				<div class="news-box-bottom"></div>
			</div><!-- end .news-box -->
			<div class = "clear" ></div>
			{/if}
			<div id="home-sidebar">
				<!--#home-left-sidebar -->
				<div id="home-left-sidebar">
					<div id="geomancy-4" class="widget geomancy-widget">
						<div class="widget-wrap">
							<h4 class = "widgettitle">Tư vấn phong thủy</h4>
							<div class = "wrap">
								<form action="http://localhost/xem-phong-thuy/" method="post" name="frmgeomancy" id="frmgeomancy">
								<div class="fields-geomancy">
									<p>
										<label for="gtid_name">Họ và tên </label>
										<input type="text" id="gtid_name" name="gtid_name" />
									</p>
									<div class="clear"></div>
									<p>
										<label for="gtid_birthday">Năm sinh</label>
										<input type="text" id="gtid_birthday" name="gtid_birthday" />
									</p>
									<div class="clear"></div>
									<p>
										<label for="direction">Hướng nhà</label>
										<select id="direction" name="direction">
											<option value="1">Đông</option>
											<option value="2">Tây</option>
											<option value="3">Nam</option>
											<option value="4">Bắc</option>
											<option value="5">Đông Nam</option>
											<option value="6">Đông Bắc</option>
											<option value="7">Tây Nam</option>
											<option value="8">Tây Bắc</option>
										</select>
									</p>
									<div class="clear"></div>
									<p>
										<label for="gender">Giới tính</label>
										<select id="gender" name="gender">
										<option value="1">Nam giới</option>
										<option value="2">Nữ giới</option>
										</select>
									</p>
								</div>

								<div class="submit-geomancy" align="center">
									<input type="submit" value="Xem" id="Go" name="Go" class="go" />
									<input type="reset" value="Thử lại" id="reset" name="reset" class="reset" />
								</div>
								</form>
							</div>
						</div>
					</div>
				</div><!-- end #home-left-sidebar -->
				{if count($newsCategoryIndex) > 0}
				<!--#home-right-sidebar -->
				<div id="home-right-sidebar">
					<div id="featured-post-3" class="widget featuredpost">
						<div class="widget-wrap"><h4 class = "widgettitle">{$newsCategoryIndex->category_name|escape}</h4>
							<div class = "wrap">
							{if count($newsIndex) > 0}
								<div class="post type-post hentry"><a href="#" title="" class=""><img width="215" height="140" src="application/uploads/newspost/{$newsIndex->news_img}" class="attachment-Lanscape Thumbnail" alt="" title="" /></a>
									<p class="post-title"><a href="#" title="{$newsIndex->news_title|escape}">{$newsIndex->news_title|escape}</a></p>
									<p>{$newsIndex->news_desc}</p>
									<div class="clear"></div>
								</div><!--end post_class()-->
							{/if}
							</div>
						</div>
					</div>
				</div><!-- end #home-right-sidebar -->
				{/if}
			</div><!-- end #home-sidebar -->
			{if count($arrConsultant) > 0}
			<!--news-box-->
			<div class = "news-box shadow-box border-box " >
				<div class="news-box-top space">
					<h2 class = "box-title" ><a href = "{$consultant_link}" title = "##HEDAER_MENU_CONSULTANT##" >##HEDAER_MENU_CONSULTANT##</a></h2>
				</div><!-- end .news-box-top -->
				<div class="wrap">
					<div class = "main-post" >
						<a href = "#" title = "{$arrConsultant->consultant_title|escape}">
							<div class="img-border fl thumbnail rounded" style="width: 150px; height: 150px; background: url(application/uploads/consultantpost/{$arrConsultant->consultant_img}) no-repeat;">
								<img class="wp-rounded-on img-border fl thumbnail" src = "application/uploads/consultantpost/{$arrConsultant->consultant_img}" alt = "{$arrConsultant->consultant_title|escape}" title = "{$arrConsultant->consultant_title|escape}" style = "opacity: 0;" />
								<!--div class="tl"></div>
								<div class="tr"></div>
								<div class="bl"></div>
								<div class="br"></div-->
							</div>
						</a>
						<h3><a href = "#" title = "{$arrConsultant->consultant_title|escape}">{$arrConsultant->consultant_title|escape}</a></h3>
						<p>{$arrConsultant->consultant_desc} <a href="#" class="more-link"><br />##STR_VIEW_DETAIL##&hellip;</a></p>
					</div><!-- end .main-post -->
					<ul class = "older-posts">
					</ul>
				</div>
				<div class="news-box-bottom"></div>
			</div><!-- end .news-box -->
			<div class = "clear" ></div>
			{/if}
		</div><!-- end #content center-->

			<!--right colume-->
			<div id="sidebar" class="widget-area">
				{if count($arrFocusProd) > 0}
					{foreach from=$arrFocusProd item=focusProd name=fprod}
						{if $smarty.foreach.fprod.index == 0}
				<div id="fpbc-3" class="widget fpbc-widget">
					<div class="widget-wrap"><h4 class="widgettitle">##HOME_PAGE_FOCUS_PROJECT##</h4>
						<div class = "wrap">
							<div class = "post widget-post">
								<a href="#" title="{$focusProd->product_title|escape}" ><div class="widget-img img-border fpbc-img rounded" style = "width: 174px; height: 195px; background: url(application/uploads/productpost/{$focusProd->product_img}) no-repeat;" ><img style = "opacity: 0;" src ="application/uploads/productpost/{$focusProd->product_img}" alt = "{$focusProd->product_title|escape}" /><div class="widget-tl"></div><div class="widget-tr"></div><div class="widget-bl"></div><div class="widget-br"></div></div></a>
								<h3><a href="#" title="{$focusProd->product_title|escape}">{$focusProd->product_title|escape} </a></h3>
								<p></p>
							</div>
						</div><!-- end .wrap -->
					</div>
				</div>
						{/if}
					{/foreach}
				{/if}
				<div id="text-6" class="widget widget_text">
					<div class="widget-wrap"><h4 class="widgettitle">##HOME_PAGE_PARTNER##</h4>
					<div class="textwidget">
						<center>
							<select style="width: 163px;" >
							<option>##HOME_PAGE_WEBLINK##</option>
							{if count($arrWeblink) > 0}
								{foreach from=$arrWeblink item=weblink}
							<option value="{$weblink->web_link}">{$weblink->web_title|escape}</option>
								{/foreach}
							{/if}
							</select>
							<div style="height: 7px;"></div>
							{if count($arrAds) > 0}
								{foreach from=$arrAds item=ads}
							<a href="{$ads->adv_url}" target="_blank" rel="nofollow" align="center"><img height="90" border="0" width="163" class="Img" src="application/uploads/advertisement/{$ads->adv_img}" title="{$ads->adv_desc|escape}"></a>
							<div style="height: 3px;"></div>
								{/foreach}
							{/if}
						</center>
					</div>
					</div>
				</div>
			</div><!--end #right colume-->
			{if count($arrEstate) > 0}
			<!--#bottom-content -->
			<div id="bottom-content">
			<!-- Bottom news box -->
				<div class="big-news-box home-box">
					<div class="big-news-box-top space">
						<h2 class="box-title"><a href="#" title="##HOME_PAGE_REAL_ESTATE_NEWS##">##HOME_PAGE_REAL_ESTATE_NEWS##</a></h2>
					</div>
					<div class="wrap">
						{foreach from=$arrEstate item=newsEs name=estateName}
							{if $smarty.foreach.estateName.index == 0 ||
								$smarty.foreach.estateName.index == 1}
						<div class="big-main-post">
							<a href = "#" title = "{$newsEs->news_title|escape}">
								<div class="img-border fl thumbnail rounded" style="width: 150px; height: 150px; background: url(application/uploads/newsestate/{$newsEs->news_img}) no-repeat;">
									<img class="wp-rounded-on img-border fl thumbnail" src = "application/uploads/newsestate/{$newsEs->news_img}" alt = "{$newsEs->news_title|escape}" title = "{$newsEs->news_title|escape}" style = "opacity: 0;" />
									<!--div class="tl"></div>
									<div class="tr"></div>
									<div class="bl"></div>
									<div class="br"></div-->
								</div>
							</a>
							<h3><a href = "#" title = "{$newsEs->news_title|escape}">{$newsEs->news_title|escape}</a></h3>
							<p>{$newsEs->news_desc} <a href="#" class="more-link"><br />##STR_VIEW_DETAIL##&hellip;</a></p>
						</div><!-- end .big-main-post -->
							{/if}
						{/foreach}
						{if count($arrEstate) > 2}
						<p class="related">##STR_RELATIONSHIP_NEWS##</p>
							{foreach from=$arrEstate item=newsEs name=estateName}
								{assign var='total' value=$smarty.foreach.estateName.total}
								{if $smarty.foreach.estateName.index > 1}
									{if $smarty.foreach.estateName.index == 2}
						<ul class="older-posts fl">
									{/if}
									{if $smarty.foreach.estateName.index == (($total-2)/2|ceil)}
						</ul>
						<ul class="older-posts fr">
									{/if}
							<li><a href="#" title="{$newsEs->news_title|escape}">{$newsEs->news_title|escape}</a></li>
									{if $smarty.foreach.estateName.last}
						</ul>
									{/if}
								{/if}
							{/foreach}
						{/if}
					</div>
					<div class="clear"></div>
					<div class="big-news-box-bottom"></div>
				</div><!-- end .big-news-box -->
			<!-- End bottom news box -->
			</div><!-- end #bottom-content -->
			<div class="clear"></div>
			{/if}
	</div><!-- end #content-sidebar-wrap -->

	<!-- left colume-->
	<div id="sidebar-alt" class="widget-area">
		<!--left first block-->
		<div id="nav_menu-3" class="widget widget_nav_menu">
			<div class="widget-wrap">
				<div class="menu-left-menu-container">

					<ul id="menu-left-menu" class="menu">
						{$leftMenuList}
					</ul>
				</div>
			</div>
		</div>
		<!--end left first block-->
		<!--left second block-->
		<div id="support-online-3" class="widget support-online-widget">
			<!--div class="widget-wrap"><h4 class="widgettitle">Hỗ trợ trực tuyến</h4>
				<div class = "wrap">
					<span><a href="ymsgr:sendim?test"><img border=0 src="../opi.yahoo.com/online0f32.gif?u=test&amp;m=g&amp;t=11&amp;l=us" alt="Hỗ trợ trực tuyến" width="42" /></a></span>
					<span><a href="ymsgr:sendim?test"><img border=0 src="../opi.yahoo.com/online0f32.gif?u=test&amp;m=g&amp;t=11&amp;l=us" alt="Hỗ trợ trực tuyến" width="42" /></a></span>
					<script type="text/javascript" src="../download.skype.com/share/skypebuttons/js/skypeCheck.js"></script>
					<span><a href="skype:test?chat" onclick="return skypeCheck();"><img border="0" src="wp-content/themes/kientructrangkim/images/custom/skypechat.gif" alt="Hỗ trợ trực tuyến" width="42" /></a></span>

					<div class="phonenumber">
						<p><span class="hotline">Tel:</span></p>
						<p><span class="hotline">Hotline:<br>               </span></p>
					</div>
					<a class="support-link" href="{$contact_link}" title="Đặt câu hỏi tư vấn">Click vào đây để đặt câu hỏi tư vấn</a>
				</div--><!-- end .wrap >
			</div-->
		</div>
		<!--end left second block-->
		{if count($featureNews) > 0}
		<!--left third block-->
		<div id="featured-post-4" class="widget featuredpost">
			<div class="widget-wrap"><h4 class="widgettitle">##HOME_PAGE_FEATURED_NEWS##</h4>
			{foreach from=$featureNews item=fNews}
			<div class="post post type-post hentry">
				<a href="#" title="{$fNews->news_title|escape}" class="alignright"><img width="150" height="150" src="application/uploads/newspost/{$fNews->news_img}" class="attachment-thumbnail" alt="" title="" /></a>
				<p class="post-title"><a href="#" title="{$fNews->news_title|escape}">{$fNews->news_title|escape}</a></p>
				<div class="clear"></div>
			</div><!--end post_class()-->
			{/foreach}
			</div>
		</div>
		<!--end left third block-->
		{/if}
		<!--left fourth block-->
		<!--div id="dfrads-widget-3" class="widget dfrads">
			<div class="widget-wrap"><h4 class="widgettitle">Thư viện ảnh</h4>
				<a href="thu-vien-anh/index.html"><img src = "application/uploads/Rivage3big.jpg"/></a>
			</div>
		</div-->
		<!--end left fourth block-->
		{if count($arrSaleProj) > 0}
		<!--left fifth block-->
		<div id="text-7" class="widget widget_text">
			<div class="widget-wrap"><h4 class="widgettitle">##HOME_PAGE_SALE_PROJECT##</h4>
				<div class="textwidget">
					<a href="#"><img src="application/uploads/saleproject/{$arrSaleProj->news_img}" title="{$arrSaleProj->news_title|escape}" width="188px" height="234px" /></a>
				</div>
			</div>
		</div>
		<!--end left fifth block-->
		{/if}
	</div>
	<!--end left colume-->
</div><!-- end #inner -->
<div class = "clear"></div>
{if count($arrFocusService) > 0}
<script type="text/javascript">
	jQuery(document).ready(function() {ldelim}
		jQuery('#slider-bottom').jcarousel({ldelim}
			wrap: 'circular',
            scroll: 1,
            speed: 3000,
			visible: 4
		});
});
</script>
<div id="bottom-slider" >
	<div class="bottom-slider-top"><h2 class = "box-title">##HOME_PAGE_FOCUS_SERVICE##</h2></div>
	<ul id="slider-bottom" class="jcarousel-skin-ie7">
	{foreach from=$arrFocusService item=servFocus}
        <li><a href = "#" title = "{$servFocus->service_title|escape}"><div class = "img-lanscape-border rounded" style = "width: 215px; height: 140px; background: url(application/uploads/servicespost/{$servFocus->service_img_resize}) no-repeat;" ><img style = "opacity: 0;" src ="application/uploads/servicespost/{$servFocus->service_img_resize}" alt = "{$servFocus->service_title|escape}" width="215" height="140"/><!--div class="slb-tl"></div><div class="slb-tr"></div><div class="slb-bl"></div><div class="slb-br"></div--></div>{$servFocus->service_title|escape}</a></li>
	{/foreach}
	</ul>
    <div class="bottom-slider-bottom"></div>
</div><!-- end #bottom-slider -->
{/if}